package second.service.advice;


import org.springframework.aop.ThrowsAdvice;

public class StudentAfterThrowingAdvise implements ThrowsAdvice {
    public void afterThrowing(Exception ex) {
        System.out.println("exception found:\t" + ex.getMessage());
    }

}
